package com.li.service;

import com.li.model.UserFile;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
public interface UserFileService {
    int addFile(UserFile file);
    void deleteFileById(long userId);
    void deleteFileByFileName(Map<String,Object> map);
    void updateFile(UserFile userFile);
    List<UserFile> queryAllFile();
    UserFile queryFileById(long id);
    List<UserFile> queryFileByUserId(long userId);
    UserFile queryFileByName(Map<String,Object> map);
}
